package com.mars.module.admin.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.*;
import cn.afterturn.easypoi.excel.annotation.Excel;
import com.mars.module.system.entity.BaseEntity;

/**
 * 宿舍对象 sys_sushe
 *
 * @author mars
 * @date 2024-03-17
 */

@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value = "宿舍对象")
@Builder
@Accessors(chain = true)
@TableName("sys_sushe")
public class SysSushe extends BaseEntity {

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty(value = "id")
    private Long id;
    /**
     * 名称
     */
    @Excel(name = "名称")
    @ApiModelProperty(value = "名称")
    private String name;
    /**
     * 管理员
     */
    @Excel(name = "管理员")
    @ApiModelProperty(value = "管理员")
    private String administrator;
    /**
     * 联系人
     */
    @Excel(name = "联系人")
    @ApiModelProperty(value = "联系人")
    private String contact;
    /**
     * 人数
     */
    @Excel(name = "人数")
    @ApiModelProperty(value = "人数")
    private String number;
    /**
     * 位置
     */
    @Excel(name = "位置")
    @ApiModelProperty(value = "位置")
    private String location;
    /**
     * 简介
     */
    @Excel(name = "简介")
    @ApiModelProperty(value = "简介")
    private String introductionToThe;
}
